package com.youlai.boot.modules.policy.model;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Schema(description = "政策表单对象")
@Data
public class PolicyForm {
    private Long id;

    @NotBlank(message = "标题不能为空")
    private String title;

    @NotBlank(message = "封面图片不能为空")
    private String coverPic;

    @NotBlank(message = "商户ID不能为空")
    private String merchantId;

    private String content;

    private Integer sort;

    private Integer showFlag;
}